package com.ctgu.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Title Admin.java
 * @Package com.ctgu.demo.entity
 * @Discription 管理员类
 * @author michaeljia
 * @version V1.0
 * */

@Data
@TableName("administrator")
public class Admin {

    //id
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    //用户名
    private String administratorName;

    //加密密码
    private String adminPassword;

    //昵称
    private String administratorNickname;

    //手机号
    private String administratorTelephone;

    private String icon;
}
